You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > TOpenCLMtxVec Class > TOpenCLMtxVec Methods > TruncAndFrac Method > TOpenCLMtxVec.TruncAndFrac Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
TOpenCLMtxVec.TruncAndFrac Method ([In] TOpenCLMtxVec, [In] TOpenCLMtxVec, int, int, int, int)

Truncate calling object elements [Index]..[Index+Len-1] and store the results to TruncDst object elements [TruncIdx]..[TruncIdx+Len-1].

Syntax
C#
Visual Basic
public void TruncAndFrac([In] TOpenCLMtxVec TruncDst, [In] TOpenCLMtxVec FracDst, int TruncIdx, int FracIdx, int Index, int Len);

The fractional parts are saved in FracDst elements [FracIdx]..[FracIdx+Len-1]. Size and TOpenCLBase.ComplexComplex property of calling object must be set explicitly to match those of Src object. An exception is raised if array borders are overrun/underrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!